//
//  WPStatusBottomToolbar.swift
//  WB
//
//  Created by 汪鹏 on 2017/1/8.
//  Copyright © 2017年 汪鹏. All rights reserved.
//  微博底部工具栏视图

import UIKit

class WPStatusBottomToolbar: UIView {

    @IBOutlet weak var retweetButton: UIButton!
    @IBOutlet weak var commentButton: UIButton!
    @IBOutlet weak var likeButton: UIButton!
    
    // 单条微博视图模型
    var viewModel:WPSingleWBViewModel?{
        didSet{
            
           retweetButton.setTitle(viewModel?.repostString, for: .normal)
            
            commentButton.setTitle(viewModel?.commentString, for: .normal)
            
            likeButton.setTitle(viewModel?.attitudesString, for: .normal)
            
        }
    }
}
